package com.vinfai.common.math;

import java.util.Random;

public class RandomTest {

	public static void main(String[] args) {
		Random random = new Random();
		byte[] bytes = new byte[1000];
		random.nextBytes(bytes);
	/*	for(byte i : bytes){
			System.out.println(i);
		}*/
		System.out.println(Byte.MAX_VALUE);
		System.out.println(Byte.MIN_VALUE);
		System.out.println("==================");
		System.out.println(Short.MAX_VALUE);
		System.out.println(Short.MIN_VALUE);
		//中文编码测试...
		double d = Math.pow(2,3);
		System.out.println(d); 
	}

}
